package com.cn.demo.entity;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CurriculumExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CurriculumExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andCurriculumIdIsNull() {
            addCriterion("curriculum_id is null");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdIsNotNull() {
            addCriterion("curriculum_id is not null");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdEqualTo(String value) {
            addCriterion("curriculum_id =", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdNotEqualTo(String value) {
            addCriterion("curriculum_id <>", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdGreaterThan(String value) {
            addCriterion("curriculum_id >", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdGreaterThanOrEqualTo(String value) {
            addCriterion("curriculum_id >=", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdLessThan(String value) {
            addCriterion("curriculum_id <", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdLessThanOrEqualTo(String value) {
            addCriterion("curriculum_id <=", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdLike(String value) {
            addCriterion("curriculum_id like", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdNotLike(String value) {
            addCriterion("curriculum_id not like", value, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdIn(List<String> values) {
            addCriterion("curriculum_id in", values, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdNotIn(List<String> values) {
            addCriterion("curriculum_id not in", values, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdBetween(String value1, String value2) {
            addCriterion("curriculum_id between", value1, value2, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumIdNotBetween(String value1, String value2) {
            addCriterion("curriculum_id not between", value1, value2, "curriculumId");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameIsNull() {
            addCriterion("curriculum_name is null");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameIsNotNull() {
            addCriterion("curriculum_name is not null");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameEqualTo(String value) {
            addCriterion("curriculum_name =", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameNotEqualTo(String value) {
            addCriterion("curriculum_name <>", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameGreaterThan(String value) {
            addCriterion("curriculum_name >", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameGreaterThanOrEqualTo(String value) {
            addCriterion("curriculum_name >=", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameLessThan(String value) {
            addCriterion("curriculum_name <", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameLessThanOrEqualTo(String value) {
            addCriterion("curriculum_name <=", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameLike(String value) {
            addCriterion("curriculum_name like", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameNotLike(String value) {
            addCriterion("curriculum_name not like", value, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameIn(List<String> values) {
            addCriterion("curriculum_name in", values, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameNotIn(List<String> values) {
            addCriterion("curriculum_name not in", values, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameBetween(String value1, String value2) {
            addCriterion("curriculum_name between", value1, value2, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andCurriculumNameNotBetween(String value1, String value2) {
            addCriterion("curriculum_name not between", value1, value2, "curriculumName");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIsNull() {
            addCriterion("teacher_id is null");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIsNotNull() {
            addCriterion("teacher_id is not null");
            return (Criteria) this;
        }

        public Criteria andTeacherIdEqualTo(String value) {
            addCriterion("teacher_id =", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotEqualTo(String value) {
            addCriterion("teacher_id <>", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdGreaterThan(String value) {
            addCriterion("teacher_id >", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdGreaterThanOrEqualTo(String value) {
            addCriterion("teacher_id >=", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLessThan(String value) {
            addCriterion("teacher_id <", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLessThanOrEqualTo(String value) {
            addCriterion("teacher_id <=", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdLike(String value) {
            addCriterion("teacher_id like", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotLike(String value) {
            addCriterion("teacher_id not like", value, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdIn(List<String> values) {
            addCriterion("teacher_id in", values, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotIn(List<String> values) {
            addCriterion("teacher_id not in", values, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdBetween(String value1, String value2) {
            addCriterion("teacher_id between", value1, value2, "teacherId");
            return (Criteria) this;
        }

        public Criteria andTeacherIdNotBetween(String value1, String value2) {
            addCriterion("teacher_id not between", value1, value2, "teacherId");
            return (Criteria) this;
        }

        public Criteria andContentIsNull() {
            addCriterion("content is null");
            return (Criteria) this;
        }

        public Criteria andContentIsNotNull() {
            addCriterion("content is not null");
            return (Criteria) this;
        }

        public Criteria andContentEqualTo(String value) {
            addCriterion("content =", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotEqualTo(String value) {
            addCriterion("content <>", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThan(String value) {
            addCriterion("content >", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentGreaterThanOrEqualTo(String value) {
            addCriterion("content >=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThan(String value) {
            addCriterion("content <", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLessThanOrEqualTo(String value) {
            addCriterion("content <=", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentLike(String value) {
            addCriterion("content like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotLike(String value) {
            addCriterion("content not like", value, "content");
            return (Criteria) this;
        }

        public Criteria andContentIn(List<String> values) {
            addCriterion("content in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotIn(List<String> values) {
            addCriterion("content not in", values, "content");
            return (Criteria) this;
        }

        public Criteria andContentBetween(String value1, String value2) {
            addCriterion("content between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andContentNotBetween(String value1, String value2) {
            addCriterion("content not between", value1, value2, "content");
            return (Criteria) this;
        }

        public Criteria andClassHourIsNull() {
            addCriterion("class_hour is null");
            return (Criteria) this;
        }

        public Criteria andClassHourIsNotNull() {
            addCriterion("class_hour is not null");
            return (Criteria) this;
        }

        public Criteria andClassHourEqualTo(String value) {
            addCriterion("class_hour =", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourNotEqualTo(String value) {
            addCriterion("class_hour <>", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourGreaterThan(String value) {
            addCriterion("class_hour >", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourGreaterThanOrEqualTo(String value) {
            addCriterion("class_hour >=", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourLessThan(String value) {
            addCriterion("class_hour <", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourLessThanOrEqualTo(String value) {
            addCriterion("class_hour <=", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourLike(String value) {
            addCriterion("class_hour like", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourNotLike(String value) {
            addCriterion("class_hour not like", value, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourIn(List<String> values) {
            addCriterion("class_hour in", values, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourNotIn(List<String> values) {
            addCriterion("class_hour not in", values, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourBetween(String value1, String value2) {
            addCriterion("class_hour between", value1, value2, "classHour");
            return (Criteria) this;
        }

        public Criteria andClassHourNotBetween(String value1, String value2) {
            addCriterion("class_hour not between", value1, value2, "classHour");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNull() {
            addCriterion("start_date is null");
            return (Criteria) this;
        }

        public Criteria andStartDateIsNotNull() {
            addCriterion("start_date is not null");
            return (Criteria) this;
        }

        public Criteria andStartDateEqualTo(Date value) {
            addCriterion("start_date =", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotEqualTo(Date value) {
            addCriterion("start_date <>", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThan(Date value) {
            addCriterion("start_date >", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateGreaterThanOrEqualTo(Date value) {
            addCriterion("start_date >=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThan(Date value) {
            addCriterion("start_date <", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateLessThanOrEqualTo(Date value) {
            addCriterion("start_date <=", value, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateIn(List<Date> values) {
            addCriterion("start_date in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotIn(List<Date> values) {
            addCriterion("start_date not in", values, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateBetween(Date value1, Date value2) {
            addCriterion("start_date between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andStartDateNotBetween(Date value1, Date value2) {
            addCriterion("start_date not between", value1, value2, "startDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNull() {
            addCriterion("end_date is null");
            return (Criteria) this;
        }

        public Criteria andEndDateIsNotNull() {
            addCriterion("end_date is not null");
            return (Criteria) this;
        }

        public Criteria andEndDateEqualTo(Date value) {
            addCriterion("end_date =", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotEqualTo(Date value) {
            addCriterion("end_date <>", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThan(Date value) {
            addCriterion("end_date >", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateGreaterThanOrEqualTo(Date value) {
            addCriterion("end_date >=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThan(Date value) {
            addCriterion("end_date <", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateLessThanOrEqualTo(Date value) {
            addCriterion("end_date <=", value, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateIn(List<Date> values) {
            addCriterion("end_date in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotIn(List<Date> values) {
            addCriterion("end_date not in", values, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateBetween(Date value1, Date value2) {
            addCriterion("end_date between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andEndDateNotBetween(Date value1, Date value2) {
            addCriterion("end_date not between", value1, value2, "endDate");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdIsNull() {
            addCriterion("curriculum_design_id is null");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdIsNotNull() {
            addCriterion("curriculum_design_id is not null");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdEqualTo(String value) {
            addCriterion("curriculum_design_id =", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdNotEqualTo(String value) {
            addCriterion("curriculum_design_id <>", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdGreaterThan(String value) {
            addCriterion("curriculum_design_id >", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdGreaterThanOrEqualTo(String value) {
            addCriterion("curriculum_design_id >=", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdLessThan(String value) {
            addCriterion("curriculum_design_id <", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdLessThanOrEqualTo(String value) {
            addCriterion("curriculum_design_id <=", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdLike(String value) {
            addCriterion("curriculum_design_id like", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdNotLike(String value) {
            addCriterion("curriculum_design_id not like", value, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdIn(List<String> values) {
            addCriterion("curriculum_design_id in", values, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdNotIn(List<String> values) {
            addCriterion("curriculum_design_id not in", values, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdBetween(String value1, String value2) {
            addCriterion("curriculum_design_id between", value1, value2, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumDesignIdNotBetween(String value1, String value2) {
            addCriterion("curriculum_design_id not between", value1, value2, "curriculumDesignId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdIsNull() {
            addCriterion("curriculum_experiment_id is null");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdIsNotNull() {
            addCriterion("curriculum_experiment_id is not null");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdEqualTo(String value) {
            addCriterion("curriculum_experiment_id =", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdNotEqualTo(String value) {
            addCriterion("curriculum_experiment_id <>", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdGreaterThan(String value) {
            addCriterion("curriculum_experiment_id >", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdGreaterThanOrEqualTo(String value) {
            addCriterion("curriculum_experiment_id >=", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdLessThan(String value) {
            addCriterion("curriculum_experiment_id <", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdLessThanOrEqualTo(String value) {
            addCriterion("curriculum_experiment_id <=", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdLike(String value) {
            addCriterion("curriculum_experiment_id like", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdNotLike(String value) {
            addCriterion("curriculum_experiment_id not like", value, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdIn(List<String> values) {
            addCriterion("curriculum_experiment_id in", values, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdNotIn(List<String> values) {
            addCriterion("curriculum_experiment_id not in", values, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdBetween(String value1, String value2) {
            addCriterion("curriculum_experiment_id between", value1, value2, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumExperimentIdNotBetween(String value1, String value2) {
            addCriterion("curriculum_experiment_id not between", value1, value2, "curriculumExperimentId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdIsNull() {
            addCriterion("curriculum_internship_id is null");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdIsNotNull() {
            addCriterion("curriculum_internship_id is not null");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdEqualTo(String value) {
            addCriterion("curriculum_internship_id =", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdNotEqualTo(String value) {
            addCriterion("curriculum_internship_id <>", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdGreaterThan(String value) {
            addCriterion("curriculum_internship_id >", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdGreaterThanOrEqualTo(String value) {
            addCriterion("curriculum_internship_id >=", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdLessThan(String value) {
            addCriterion("curriculum_internship_id <", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdLessThanOrEqualTo(String value) {
            addCriterion("curriculum_internship_id <=", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdLike(String value) {
            addCriterion("curriculum_internship_id like", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdNotLike(String value) {
            addCriterion("curriculum_internship_id not like", value, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdIn(List<String> values) {
            addCriterion("curriculum_internship_id in", values, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdNotIn(List<String> values) {
            addCriterion("curriculum_internship_id not in", values, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdBetween(String value1, String value2) {
            addCriterion("curriculum_internship_id between", value1, value2, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andCurriculumInternshipIdNotBetween(String value1, String value2) {
            addCriterion("curriculum_internship_id not between", value1, value2, "curriculumInternshipId");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion("remarks is null");
            return (Criteria) this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion("remarks is not null");
            return (Criteria) this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion("remarks =", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion("remarks <>", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion("remarks >", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion("remarks >=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion("remarks <", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion("remarks <=", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksLike(String value) {
            addCriterion("remarks like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotLike(String value) {
            addCriterion("remarks not like", value, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksIn(List<String> values) {
            addCriterion("remarks in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotIn(List<String> values) {
            addCriterion("remarks not in", values, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion("remarks between", value1, value2, "remarks");
            return (Criteria) this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion("remarks not between", value1, value2, "remarks");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}